import request from '@/service'
//获取轮播图数据
export function upBanner() {
  return request({
    method: 'get',
    url: '/banner/list'
  })
}

//删除单张轮播图数据
export function delBanner(params) {
  return request({
    method: 'get',
    url: '/banner/delete',
    params
  })
}
//添加轮播图数据
export function addBanner(data) {
  return request({
    method: 'post',
    url: '/banner/add',
    data
  })
}
